package com.gagakuai.reflect.factory;

import java.util.List;
import java.util.Properties;

/*
 * @program: common-starters
 * @description: 对象工厂
 * @author: houhong
 * @create: 2023-06-29 21:35
 */
public interface ObjectFactory {

    void setProperties(Properties properties);

    <T> T create(Class<T> type);


    <T> T create(Class<T> type, List<Class<?>> constructorArgTypes, List<Object> constructorArgs);


    <T> boolean isCollection(Class<T> type);
}